//
//  ChannerHeadView.m
//  UI_Project_A
//
//  Created by dllo on 16/1/24.
//  Copyright © 2016年 GH. All rights reserved.
//

#import "ChannerHeadView.h"

@interface ChannerHeadView ()

@property (nonatomic ,retain)UILabel *label;


@end

@implementation ChannerHeadView



- (instancetype)initWithFrame:(CGRect)frame {


    self = [super initWithFrame:frame];

    if (self) {
        [self createLabel];
    }
    return self;
}



- (void)createLabel{

    self.label = [[UILabel alloc] init];
    self.label.text = @"我的频道";

    [self addSubview:self.label];

}


- (void)layoutSubviews {
    [super layoutSubviews];
    self.label.frame = CGRectMake(self.frame.size.width/2 -30, 20, 150, 40);




}


@end
